package io.github.lee.repository.qb.api

import io.github.lee.repository.qb.domain.Response
import retrofit2.http.GET
import retrofit2.http.Query
import retrofit2.http.Url

interface AuthApi {

    @GET
    suspend fun login(
        @Url url: String,
        @Query("username") username: String,
        @Query("password") password: String,
    ): Response<String>
}